def common_assert(resp,status_code,success,code,message):

    assert status_code == resp.status_code
    assert success == resp.json().get("success")
    assert code == resp.json().get("code")
    assert message in resp.json().get("message")
# if __name__ == '__main__':
#     ret =common_assert(200,True,10000,)
